package com.liugui.objectoriented;

/**
 * @ClassName: CallPhone
 * @Author: liugui
 * @Date: 2020-10-26 14:00
 **/
public class CallPhone extends TelePhone{

    @Override
    public void call() {
        System.out.println("我可以打电话！");
    }

    @Override
    public void message() {
        System.out.println("我可以发短信！");
    }

    public static void main(String[] args) {
        CallPhone callPhone = new CallPhone();
        callPhone.call();
        callPhone.message();
    }
}
